home *** CD-ROM | disk | FTP | other *** search
/ Mission to McDonaldLand / Mission To McDonaldLand.iso / crystal.dxr / 00109_Script_109 < prev    next >
Text File  |  1998-10-27  |  568b  |  19 lines

  1. on enterFrame me
  2.   global runto
  3.   global Grunto
  4.   global Cface
  5.   global Gface
  6.   global myturn
  7.   
  8.   if the loc of sprite 30 = the loc of sprite the spritenum of me and (myturn = 2 or myturn = 3) then
  9.     set Cface = 2
  10.     set runto = runto - the locH of sprite 30
  11.     set runto = runto + the locV of sprite 30
  12.   end if
  13.   
  14.   if the loc of sprite 29 = the loc of sprite the spritenum of me and (myturn = 5 or myturn = 6) then 
  15.     set Gface = 2
  16.     set Grunto = Grunto - the locH of sprite 29
  17.     set Grunto = Grunto + the locV of sprite 29
  18.   end if
  19. end